package org.star.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author : 一叶浮萍归大海
 * @Date: 2024/6/11 12:25
 * @Description:
 */
@Slf4j
@RequestMapping("/stock")
@RestController
public class StockController7002 {

    /**
     * 扣减库存
     * @return
     */
    @GetMapping("/reduceStock")
    public String reduceStock() {
        log.info("扣减库存成功!");
        return "扣减库存成功****** O(∩_∩)O";
    }

}
